package org.demo.service;

import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

import org.demo.vo.Item;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@Path("/sample")
@Api(value = "/sample", tags = "Sample JAX-RS service with Swagger documentation")
public interface ISample {

	 	@Produces({ MediaType.APPLICATION_JSON })
	    @GET
	    @ApiOperation(
	        value = "Get operation with Response and @Default value",
	        notes = "Get operation with Response and @Default value",
	        response = Item.class,
	        responseContainer = "List"
	    )
	    public Response getItems(int page);
}
